package test.heliotrope.res
{
	import flexunit.framework.Assert;
	
	import heliotrope.res.GraphicsPool;
	import heliotrope.res.TileSets;
	
	public class GraphicsPoolTest
	{		
		private static var __pool:GraphicsPool
		[Before]
		public function setUp():void
		{
		}
		
		[After]
		public function tearDown():void
		{
		}
		
		[BeforeClass]
		public static function setUpBeforeClass():void
		{
			__pool = new GraphicsPool(new XML);
		}
		
		[AfterClass]
		public static function tearDownAfterClass():void
		{
		}
		
		[Test]
		public function testGet_tilesets():void
		{
			var tiles:TileSets = __pool.tilesets;
			Assert.assertNotNull(tiles.getRes(9));
		}
	}
}